<template>
  <div class='mobile'>
    <p class="title">Combine The Power Of MT5 With Growth Max Global</p>
    <div class="listbox">
        <div>
            <img src="../images/8.png" alt="">
            <p>Lightning-fast Execution</p>
            <p>Trade in 0.04 seconds.</p>
        </div>
        <div>
            <img src="../images/9.png" alt="">
            <p>Spreads As Low As 0.0  </p>
            <p>Float with GMG full disclosure orders, float with  confidence.</p>
        </div>
        <div>
            <img src="../images/10.png" alt="">
            <p>Security Of Your Funds</p>
            <p>Safely trade with trusted payments.</p>
        </div>
    </div>
    <div class="listbox">
        <div>
            <img src="../images/11.png" alt="">
            <p>Negative Balance Protection</p>
            <p>Good risk management keeps you safe.</p>
        </div>
        <div>
            <img src="../images/12.png" alt="">
            <p>Wide Range Of Instruments</p>
            <p>Trade Forex, CFDs, and more with MT5.</p>
        </div>
        <div>
            <img src="../images/13.png" alt="">
            <p>Customizable Platform</p>
            <p>Tailor your trading experience with  MT5's advanced tools.</p>
        </div>
    </div>
  </div>
  <div class="markets">
    <div>
        <div class="marketsleft">
            <p>Trade Global Markets</p>
            <p>Trade Growth Max Global wide range of instruments with metaTrader 5 App - forex, stocks, metals, crypto & more. monitor live prices & market movement at your fingertips.</p>
        </div>
        <div class="marketsright">
            <div>
                <img src="../images/16.png" alt="">
                <img src="../images/17.png" alt="">
                
            </div>
            <div>
                <img src="../images/19.png" alt="">
                <img src="../images/20.png" alt="">
                
            </div>
            <div>
                <img src="../images/18.png" alt="">
                <img src="../images/21.png" alt="">
            </div>
        </div>
    </div>
  </div>
  <div class="btngroup">
    <div>
        Trade With Ease, Trade With Us
    </div>
    <span @click="gopath('https://play.google.com/store/apps/details?id=net.metaquotes.metatrader5&hl=zh&referrer=ref_id%3D5189200335109353173%26utm_source%3Dwww.metatrader5.com%26utm_campaign%3Dinstall.metaquotes&pli=1')">
        <img src="../images/14.png" alt="">
    </span>
    <span @click="gopath('https://apps.apple.com/cn/app/metatrader-5/id413251709?utm_campaign=install.metaquotes&utm_source=www.metatrader5.com')">
        <img src="../images/15.png" alt="">
    </span>
</div>
</template>

<script lang='ts'>

  import { defineComponent, reactive, onMounted} from 'vue'

  export default defineComponent({

    name: 'mobile',

    props: {},

    components: {},

    setup(props, { emit }) {

      const state = reactive({
      
      })

      onMounted(()=>{
        console.log('组件挂载了')
      })

      const gopath=(url:string)=>{
        window.open(url,'_blank')
      }

      return {
        state,
        gopath
      }

    }

  })
</script>

<style lang='scss' scoped>
    @use '@/styles/vars';
    .mobile{
        padding-top:120px;
        background-color: #fff;
        display: flex;
        flex-direction:column;
        align-items: center;
        padding-bottom:100px;
        p,ul{
            margin:0;
            padding:0;
            list-style: none;
        }
        .title{
            font-weight: 900;
            font-size: 40px;
            color: #E24737;
            text-align: center;
            font-style: normal;
            text-transform: none;
        }

        .listbox{
            display: flex;
            flex-direction: row;
            align-items: stretch;
            justify-content: center;
            text-align: center;
            margin-top:44px;
            gap:140px;
            >div{
                width:300px;

                p:nth-child(2){
                    font-weight: 400;
                    font-size: 24px;
                    color: #333333;
                    font-style: normal;
                    text-transform: none;
                }
                p:nth-child(3){
                    font-weight: 400;
                    font-size: 18px;
                    color: #666666;
                    font-style: normal;
                    text-transform: none;
                    margin-top:16px;
                }
            }

            img{
                width:222px;
                height:182px;
            }
        }
    }
    .btngroup{
        background-color:#EEDAD8;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding:40px 0;
        div{
            font-weight: 400;
            font-size: 36px;
            color: #E24737;
            font-style: normal;
            text-transform: none;
        }
        span{
          margin-left:125px;
          img{
            width:276px;
            height:79px;
          }
        }
    }

    .markets{
        background-color:#FAEEEC;
        padding-top:72px;
        padding-bottom:139px;
        display: flex;
        flex-direction: column;
        align-items: center;
        >div{
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            width:375 * vars.$px;

            .marketsright{
                display: flex;
                flex-direction: column;
                align-items: center;

                >div{
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    margin-left:42px;

                    img{
                        width:277px;
                        height:70px;
                        margin-left:14px;
                    }
                }

                >div:nth-child(1),>div:nth-child(2){
                    margin-bottom:61px;
                }
            }

            .marketsleft{
                p:nth-child(1){
                    font-weight: 900;
                    font-size: 40px;
                    color: #E24737;
                    text-align: left;
                    font-style: normal;
                    text-transform: none;
                }

                p:nth-child(2){
                    font-weight: 400;
                    font-size: 24px;
                    color: #333333;
                    text-align: left;
                    font-style: normal;
                    text-transform: none;
                }
            }
        }
    }
</style>